package com.hig.ledger.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 受限空间台账对象 ledger_confined_space
 * 
 * @author scp
 * @date 2024-09-20
 */
public class LedgerConfinedSpace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 流程/区域 */
    @Excel(name = "流程/区域")
    private String processRegion;

    /** 有限空间名称 */
    @Excel(name = "有限空间名称")
    private String confinedSpaceName;

    /** 主要危害因素 */
    @Excel(name = "主要危害因素")
    private String mainHazardFactors;

    /** 可发生事故后果 */
    @Excel(name = "可发生事故后果")
    private String possibleAccidentConsequences;

    /** 防护要求 */
    @Excel(name = "防护要求")
    private String protectionRequirements;

    /** 审批责任人 */
    @Excel(name = "审批责任人")
    private String approvalResponsiblePerson;

    /** 现场责任人 */
    @Excel(name = "现场责任人")
    private String sceneResponsiblePerson;

    /** 备用 */
    private String remarkSpare;

    /** 备用1 */
    private String remarkSpare1;

    /** 备用2 */
    private String remarkSpare2;

    /** 部门ID */
//    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProcessRegion(String processRegion) 
    {
        this.processRegion = processRegion;
    }

    public String getProcessRegion() 
    {
        return processRegion;
    }
    public void setConfinedSpaceName(String confinedSpaceName) 
    {
        this.confinedSpaceName = confinedSpaceName;
    }

    public String getConfinedSpaceName() 
    {
        return confinedSpaceName;
    }
    public void setMainHazardFactors(String mainHazardFactors) 
    {
        this.mainHazardFactors = mainHazardFactors;
    }

    public String getMainHazardFactors() 
    {
        return mainHazardFactors;
    }
    public void setPossibleAccidentConsequences(String possibleAccidentConsequences) 
    {
        this.possibleAccidentConsequences = possibleAccidentConsequences;
    }

    public String getPossibleAccidentConsequences() 
    {
        return possibleAccidentConsequences;
    }
    public void setProtectionRequirements(String protectionRequirements) 
    {
        this.protectionRequirements = protectionRequirements;
    }

    public String getProtectionRequirements() 
    {
        return protectionRequirements;
    }
    public void setApprovalResponsiblePerson(String approvalResponsiblePerson) 
    {
        this.approvalResponsiblePerson = approvalResponsiblePerson;
    }

    public String getApprovalResponsiblePerson() 
    {
        return approvalResponsiblePerson;
    }
    public void setSceneResponsiblePerson(String sceneResponsiblePerson) 
    {
        this.sceneResponsiblePerson = sceneResponsiblePerson;
    }

    public String getSceneResponsiblePerson() 
    {
        return sceneResponsiblePerson;
    }
    public void setRemarkSpare(String remarkSpare) 
    {
        this.remarkSpare = remarkSpare;
    }

    public String getRemarkSpare() 
    {
        return remarkSpare;
    }
    public void setRemarkSpare1(String remarkSpare1) 
    {
        this.remarkSpare1 = remarkSpare1;
    }

    public String getRemarkSpare1() 
    {
        return remarkSpare1;
    }
    public void setRemarkSpare2(String remarkSpare2) 
    {
        this.remarkSpare2 = remarkSpare2;
    }

    public String getRemarkSpare2() 
    {
        return remarkSpare2;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("processRegion", getProcessRegion())
            .append("confinedSpaceName", getConfinedSpaceName())
            .append("mainHazardFactors", getMainHazardFactors())
            .append("possibleAccidentConsequences", getPossibleAccidentConsequences())
            .append("protectionRequirements", getProtectionRequirements())
            .append("approvalResponsiblePerson", getApprovalResponsiblePerson())
            .append("sceneResponsiblePerson", getSceneResponsiblePerson())
            .append("remark", getRemark())
            .append("remarkSpare", getRemarkSpare())
            .append("remarkSpare1", getRemarkSpare1())
            .append("remarkSpare2", getRemarkSpare2())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .toString();
    }
}
